Project API Reference
TheProject class is the root container of a BindAI solution.
A project owns applications, workflows, shared tools, schedulers, configuration, and future shared resources such as knowledge and memory.
This page documents the public Project API.
Overview
Every BindAI solution begins with a project. Conceptually:Creating a Project
Projects are typically created through a configuration or builder. Example:Configuration
Every project contains aProjectConfiguration.
The configuration defines project-wide settings such as:
- project name
- environment
- shared configuration
- runtime settings
Properties
name
Returns the configured project name. Example:applications
Dictionary containing registered applications. Conceptually:tools
The shared tool registry.workflows
The workflow registry.scheduler
Provides scheduled workflow execution.Application Methods
add_application()
Registers an application. Example:application()
Returns a registered application. Example:Tool Methods
add_tool()
Registers a shared tool. Example:Workflow Methods
add_workflow()
Registers a workflow. Example:workflow()
Returns a workflow from the registry. Example:Scheduler Methods
add_schedule()
Registers a workflow schedule. Example:Execution Methods
run()
Executes an agent through an application. Example:stream()
Streams an agent response. Example:Shared Resources
The project is designed to support shared resources. Examples include:Python Helpers
Projects implement several convenience methods.Membership
Length
Iteration
Projects are iterable. Example:Typical Lifecycle
A typical project lifecycle is:Best Practices
- Create one project for each AI solution.
- Register reusable tools at the project level.
- Keep applications focused on a single business domain.
- Register workflows centrally.
- Store shared configuration inside the project.
- Use the scheduler for recurring workflow execution.
- Separate project infrastructure from application logic.
Related APIs
The Project API works closely with:- Application
- Agent
- Workflow
- Tool
- Scheduler
Summary
TheProject class is the top-level container in BindAI.
It coordinates applications, workflows, shared tools, scheduling, and configuration, providing a single entry point for executing and managing complete AI solutions.